package com.zmn.plat.persistence.interfaces.channel.workorder.picture;


import com.zmn.plat.model.entity.channel.workorder.picture.ChannelWorkOrderPictureStandard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChannelWorkOrderPictureStandardDao {

    int deleteByPrimaryKey(Integer standardId);

    int insert(ChannelWorkOrderPictureStandard record);

    int batchInsert(List<ChannelWorkOrderPictureStandard> list);

    int insertSelective(ChannelWorkOrderPictureStandard record);

    ChannelWorkOrderPictureStandard selectByPrimaryKey(Integer standardId);

    int updateByPrimaryKeySelective(ChannelWorkOrderPictureStandard record);

    int updateByPrimaryKey(ChannelWorkOrderPictureStandard record);

    List<ChannelWorkOrderPictureStandard> listStandardByRelateId(@Param("relateIds") List<Integer> relateIds);

    int deleteByQuery(ChannelWorkOrderPictureStandard query);
}